package com.example.config;

import com.dangdang.ddframe.job.executor.handler.impl.DefaultJobExceptionHandler;
import lombok.Data;

/**
 * @author YJC
 * @version V1.0
 * @description: TODO
 * @date 2020-11-10 15:13
 */
@Data
public class JobConfigProperties {

    /**
     * 任务名称
     */
    private String jobName;
    /**
     * 定时任务表达式
     */
    private String cron;
    /**
     * 任务分片总数
     */
    private Integer shardingTotalCount;
    /**
     * 任务分片参数
     */
    private String shardingItemParameters;
    /**
     * 任务描述
     */
    private String description;
    /**
     *
     */
    private Boolean failover = Boolean.FALSE;
    /*8

     */
    private Boolean misfire = Boolean.FALSE;
    /**
     *
     */
    private Boolean disabled = Boolean.FALSE;
    /**
     *
     */
    private Boolean overwrite = Boolean.FALSE;
    /**
     *
     */
    private Boolean monitorExecution = Boolean.FALSE;
    /**
     *
     */
    private String jobExceptionHandler = DefaultJobExceptionHandler.class.getCanonicalName();
}
